@import "common.css";
button {
    cursor: pointer;
    border-radius: 3px;
    box-sizing: border-box;
    background-color: #41ac52;
    color: #fff;
    border: none;
    outline: none;
}

button:disabled {
    background-color: rgba(66, 189, 86, .5);
    cursor: default;
}

.container {
    width: 300px;
    height: 300px;
    position: relative;
    box-sizing: border-box;
    padding: 30px 10px 10px;
}

.container span {
    color: #9b9b9b;
}

.container a {
    color: #41ac52;
}

.container input[type="text"], 
.container input[type="password"] {
    width: 100%;
    height: 100%;
    padding-left: 10px;
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid #e4e6e5;
}

.container button {
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 34px;
}

.container .switch {
    position: absolute;
    top: 10px;
    right: 8px;
}

.container .switch img {
    width: 30px;
    cursor: pointer;
}

.container .switch img:hover+span {
    display: block;
}

.container .switch span {
    display: none;
    height: 20px;
    width: max-content;
    border: 1px solid rgba(66, 189, 86, .3);
    border-radius: 3px;
    padding: 3px 5px;
    color: #666;
    font-size: 13px;
    position: absolute;
    top: 0;
    right: 50px;
    background: #f5faf9;
}

.container .switch span::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background: #f5faf9;
    border-right: 1px solid rgba(66, 189, 86, .3);
    border-top: 1px solid rgba(66, 189, 86, .3);
    position: absolute;
    top: 7px;
    right: -7px;
    transform: rotate(45deg);
}

.container .title {
    height: 34px;
    border-bottom: 1px solid #ececec;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.container .title span {
    box-sizing: border-box;
    width: 50%;
    height: 100%;
    font-size: 13px;
    text-align: center;
    line-height: 34px;
    cursor: pointer;
}

.container .title .selected {
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid #494949;
}

.container form {
    position: relative;
}

.container form .form-error{
    border: 1px solid #ffb8b3;
    font-size: 12px;
    background-color: #fff6f1;
    color: #fe2617;
    width: 258px;
    padding-left: 20px;
    line-height: 22px;
    position: absolute;
    top: -60px;
}

.container .form-item {
    width: 100%;
    height: 34px;
    position: relative;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.container .form-txt {
    width: 100%;
    height: 28px;
    position: relative;
    margin-bottom: 3px;
    box-sizing: border-box;
}

.container form span {
    font-size: 12px;
}

.container input.phone {
    padding-left: 60px;
}

.container .port {
    text-align: center;
    line-height: 34px;
    font-size: 15px;
    color: #333;
    font-weight: 700;
    width: 50px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-right: 1px solid #e4e6e5;
    cursor: pointer;
}

.container .mask {
    position: absolute;
    top: -100px;
    width: 300px;
    height: 300px;
    background-color: #fff;
    opacity: 0.7;
    z-index: 99;
}

.container .port-item {
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: -70px;
    width: 284px;
    height: 225px;
    border: 1px solid #bbb;
    background-color: #fff;
    z-index: 100;
    overflow: auto;
    box-sizing: border-box;
}

.container .port-item .close {
    position: absolute;
    top: 10px;
    right: 12px;
    padding: 0 3px;
    z-index: 1;
    font: 11px/1.2 "Comic Sans MS", sans-serif;
    cursor: pointer;
}

.container .port-item p {
    margin-top: 0px;
    padding: 10px 10px 6px;
    color: #060;
    background: #ebf5eb;
    font-weight: 700;
}

.container .port-item ul {
    list-style: none;
    padding: 0 10px;
}

.container .port-item li {
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 1px solid #e5e5e5;
}

.container .port-item li:first-child {
    border-top: 1px solid #e5e5e5;
}

.container .port-item li span {
    font-size: 14px;
    color: #494949;
    vertical-align: 0px;
    line-height: 36px;
}

.container .port-item li span:last-child {
    color: #aaa;
}

/* .container .port-item li:nth-child(2) span:first-child {
    margin-left: -57px;
}

.container .port-item li:nth-child(2) span:last-child {
    margin-right: -27px;
} */

.container .port-item li.selected span {
    color: #42bd56;
}

.container .port-item li.selected span:first-child::after {
    content: "√";
    margin-left: 15px;
}

.container .tip {
    font-size: 13px;
    color: #41ac52;
    ;
    line-height: 28px;
    cursor: pointer;
}

.container .get-code {
    position: absolute;
    top: 5px;
    right: 10px;
}

.container .login-3 {
    padding-top: 10px;
    border-top: 1px solid #ddd;
    box-sizing: border-box;
}

.container .login-3 span {
    font-size: 11px;
    vertical-align: 3px;
}

.container .login-3 i {
    margin-left: 10px;
    font-size: 23px;
    cursor: pointer;
}

.container .login-3 .icon-weixin {
    color: rgb(100, 197, 116);
}

.container .login-3 .icon-weibo-circle-fill {
    color: rgb(242, 114, 114);
}

.container .qr-code .tip1 {
    display: block;
    font-size: 13px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.container .qr-code img {
    display: block;
    width: 170px;
    height: 170px;
    margin: 0 auto;
}

.container .qr-code .tip2 {
    font-size: 12px;
    display: block;
    border-radius: 12px;
    margin: 5px auto;
    padding: 3px 20px;
    color: #494949;
    background-color: rgba(0, 0, 0, .08);
    font-weight: normal;
    width: max-content;
}